package org.jeecg.dev.service.impl;

import org.jeecg.dev.entity.DevEquipmentRepair;
import org.jeecg.dev.entity.DevEquipmentVerification;
import org.jeecg.dev.mapper.DevEquipmentRepairMapper;
import org.jeecg.dev.service.IDevEquipmentRepairService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 设备维修记录表
 * @Author: jeecg-boot
 * @Date:   2022-03-05
 * @Version: V1.0
 */
@Service
public class DevEquipmentRepairServiceImpl extends ServiceImpl<DevEquipmentRepairMapper, DevEquipmentRepair> implements IDevEquipmentRepairService {

    @Autowired
    private DevEquipmentRepairMapper devEquipmentRepairMapper;
    @Override
    public List<DevEquipmentRepair> listByCode(String code) {
        return devEquipmentRepairMapper.listBycode(code);
    }

    @Override
    public String selectLastId() {
        return devEquipmentRepairMapper.selectLastId();
    }
}
